@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/*
  Everything is scoped under .about-page so the site's Bootstrap theme
  can't override it, and so it looks the same inside the CMS or on its own.
*/

/* Let the page use the full window width inside the CMS layout */
.cms-content-wrapper:has(.about-page) { max-width: none; width: 100%; padding: 0; min-height: 0; }
.cms-content-wrapper:has(.about-page) main { padding-bottom: 0 !important; }
.cms-page-content:has(> .about-page) > p { display: none; }

.about-page {
  --brand-1: #1aa6c9;
  --brand-2: #2bb5d3;
  --brand-3: #5a8ad6;
  --gradient: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) 45%, var(--brand-3) 100%);
  --ink: #1d2433;
  --ink-soft: #5b6475;
  --line: #e6eaf0;
  --bg-soft: #f4f8fb;
  --dark: #2f3337;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 36, 51, .08);
  --max: 1180px;
  width: 100%;
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  text-align: left;
}
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.about-page img { max-width: 100%; height: auto; display: block; }
.about-page a { color: inherit; text-decoration: none; }
.about-page h1, .about-page h2, .about-page h3 { font-family: inherit; color: inherit; letter-spacing: normal; }
.about-page strong, .about-page b { font-weight: 700; }
.about-page small { font-size: inherit; }
.about-page .container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.about-page section { padding: 88px 0; }
.about-page .eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-1); margin-bottom: 12px; }
.about-page h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; font-weight: 700; margin-bottom: 18px; }
.about-page .ab-lead { color: var(--ink-soft); font-size: 16.5px; font-weight: 400; }
.about-page .center { text-align: center; }
.about-page .section-head { max-width: 680px; margin: 0 auto 52px; }

.about-page .ab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 0; border-radius: 8px; font-weight: 600; font-size: 15px; line-height: 1.4; transition: transform .2s, box-shadow .2s; }
.about-page .ab-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.about-page .ab-btn-light, .about-page .ab-btn-light:hover { background: #fff; color: var(--ink); }
.about-page .ab-btn-outline, .about-page .ab-btn-outline:hover { border: 2px solid rgba(255,255,255,.8); color: #fff; background: transparent; }

/* Hero */
.about-page .hero { background: var(--gradient); color: #fff; padding: 84px 0 110px; position: relative; overflow: hidden; text-align: center; }
.about-page .hero::before, .about-page .hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.about-page .hero::before { width: 420px; height: 420px; top: -180px; left: -120px; }
.about-page .hero::after { width: 300px; height: 300px; bottom: -160px; right: -60px; }
.about-page .hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; position: relative; }
.about-page .hero p { max-width: 640px; margin: 0 auto 22px; font-size: 17px; opacity: .95; position: relative; }
.about-page .crumbs { font-size: 14.5px; font-weight: 500; position: relative; }
.about-page .crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.about-page .crumbs .sep { margin: 0 8px; opacity: .8; }

/* Stats */
.about-page .stats { margin-top: -54px; position: relative; z-index: 2; padding: 0; }
.about-page .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.about-page .stat { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.about-page .stat:last-child { border-right: 0; }
.about-page .stat strong { display: block; font-size: 34px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; margin-bottom: 4px; }
.about-page .stat .stat-label { display: block; font-size: 14px; color: var(--ink-soft); }

/* Who we are */
.about-page .split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-page .photo-frame { position: relative; z-index: 0; }
.about-page .photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-page .photo-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: var(--gradient); opacity: .18; z-index: -1; }
.about-page .photo-badge { position: absolute; left: -16px; bottom: 24px; background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.about-page .photo-badge .dot { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 700; }
.about-page .photo-badge strong { display: block; font-size: 15px; line-height: 1.3; }
.about-page .photo-badge small { display: block; color: var(--ink-soft); font-size: 12.5px; line-height: 1.3; }
.about-page .who p + p { margin-top: 14px; }
.about-page .flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.about-page .flags .flag { background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 500; }

/* Mission / vision / values */
.about-page .soft { background: var(--bg-soft); }
.about-page .mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-page .mv { background: #fff; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.about-page .ico { width: 52px; height: 52px; border-radius: 12px; background: var(--gradient); display: grid; place-items: center; margin-bottom: 18px; font-size: 0; color: transparent; }
.about-page .ico::before { content: ""; width: 26px; height: 26px; background: #fff; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.about-page .ico-mission { --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><circle cx='12' cy='12' r='5'/><circle cx='12' cy='12' r='1'/></svg>"); }
.about-page .ico-vision { --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>"); }
.about-page .ico-values { --icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'><path d='M12 21s-7-4.5-7-11a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 6.5-7 11-7 11z'/></svg>"); }
.about-page .mv h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.about-page .mv p { color: var(--ink-soft); font-size: 15px; }

/* Services chips */
.about-page .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.about-page .chips a { padding: 11px 20px; border-radius: 99px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; background: #fff; transition: all .2s; }
.about-page .chips a:hover { border-color: transparent; background: var(--gradient); color: #fff; }

/* CEO message */
.about-page .ceo { background: var(--dark); color: #fff; }
.about-page .ceo .split { grid-template-columns: 300px 1fr; }
.about-page .ceo-img { width: 280px; height: 280px; border-radius: 50%; padding: 6px; background: var(--gradient); margin: 0 auto; }
.about-page .ceo-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.about-page .ceo .eyebrow { color: var(--brand-2); }
.about-page .ceo blockquote { font-size: clamp(18px, 2vw, 22px); line-height: 1.6; font-weight: 400; position: relative; padding-left: 28px; border-left: 3px solid var(--brand-2); }
.about-page .ceo cite { display: block; margin-top: 20px; font-style: normal; font-weight: 600; color: #cfe9f2; }

/* Why choose us */
.about-page .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-page .why { padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.about-page .why:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.about-page .why img { width: 54px; height: 54px; object-fit: contain; margin-bottom: 16px; }
.about-page .why h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.about-page .why p { color: var(--ink-soft); font-size: 14.8px; }
.about-page .why.highlight { background: var(--gradient); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.about-page .why.highlight p { color: rgba(255,255,255,.92); margin-bottom: 18px; }

/* Gallery */
.about-page .gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.about-page .gallery figure { position: relative; overflow: hidden; border-radius: 12px; cursor: zoom-in; background: var(--line); }
.about-page .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.about-page .gallery figure:nth-child(6) { grid-column: span 2; }
.about-page .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.about-page .gallery figure:hover img { transform: scale(1.06); }
.about-page .gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.about-page .lightbox { position: fixed; inset: 0; background: rgba(10,14,20,.9); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; cursor: zoom-out; }
.about-page .lightbox.open { display: flex; }
.about-page .lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }

/* Awards */
.about-page .awards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.about-page .award { display: flex; align-items: center; gap: 14px; padding: 18px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.about-page .award img { height: 52px; width: auto; }
.about-page .award strong { display: block; font-size: 15px; }
.about-page .award small { display: block; color: var(--ink-soft); font-size: 13px; }

/* CTA */
.about-page .cta { padding: 0 0 88px; }
.about-page .cta-box { background: var(--gradient); color: #fff; border-radius: 20px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.about-page .cta-box h2 { margin-bottom: 6px; }
.about-page .cta-box p { opacity: .95; }
.about-page .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Reveal on scroll */
.js .about-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .about-page .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .about-page .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 980px) {
  .about-page .split, .about-page .ceo .split { grid-template-columns: 1fr; gap: 40px; }
  .about-page .mv-grid, .about-page .why-grid { grid-template-columns: 1fr 1fr; }
  .about-page .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-page .ceo { text-align: center; }
  .about-page .ceo blockquote { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .about-page section { padding: 64px 0; }
  .about-page .container { padding: 0 16px; }
  .about-page .hero { padding: 64px 0 96px; }
  .about-page .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-page .stat:nth-child(2) { border-right: 0; }
  .about-page .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-page .mv-grid, .about-page .why-grid { grid-template-columns: 1fr; }
  .about-page .gallery { grid-auto-rows: 150px; }
  .about-page .photo-badge { left: 10px; bottom: 10px; }
  .about-page .cta-box { padding: 40px 24px; }
  .about-page .ceo-img { width: 220px; height: 220px; }
}
